package com.wudizaba.nb.domain;

/**
 * Created by Administrator on 2017/12/20.
 */
public class mqttContext {
    // MQTT 服务器地址
    public static final String BROKER = "tcp://rd175f61.ala.dedicated.aliyun.emqxcloud.cn:1883";
    // TLS/SSL
    // String broker = "ssl://broker.emqx.io:8883";

    // MQTT 服务器用户名
    public static final String USERNAME = "emqx";
    // MQTT 服务器密码
    public static final String PASSWORD = "123456";
    // MQTT 客户端 ID
    public static final String SUBSCRIBE_CLIENT_ID = "subscribe_client";
    public static final String PUBLISH_CLIENT_ID = "publish_client";

    // 主题
    public static final String TOPIC = "mqtt/test";
    // QsS 等级
    public static final Integer QOS_0 = 0;
    public static final Integer QoS_1 = 1;
    public static final Integer QoS_2 = 2;
}
